package com.tianma315.admin.produce.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.common.base.CoreService;
import com.tianma315.admin.produce.VO.ScBatFeeVO;
import com.tianma315.admin.produce.VO.ScBatchingVO;
import com.tianma315.admin.produce.domain.ScBatFeeDO;
import com.tianma315.admin.produce.domain.ScBatchingDO;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


/**
 * 
 * <pre>
 * 配料/投料表
 * </pre>
 * <small> 2019-12-19 15:02:35 | Aron</small>
 */
public interface ScBatFeeService extends CoreService<ScBatFeeDO> {

    List<ScBatFeeDO> getBatFeeDO(Integer produceTaskId);

    Page<ScBatFeeVO> getScBatFeeVO(Integer pageNumber, Integer pageSize, ScBatFeeDO scBatFeeDTO);

    boolean addScBatFeeDO(ScBatFeeVO scBatFee);

    boolean deleteScBatFeeVO(Integer batFeeId);

    HSSFWorkbook exportBatFee(String produceTaskId);

    void importBatFee(MultipartFile file, Long userId);

    ScBatFeeVO selectVOById(Integer batFeeId);

    void updateScBatFeeVOById(ScBatFeeVO scBatFeeVO);
}
